<?php
header("Content-type: text/html; charset=utf-8");
include '../service/InvitationService.class.php';
include '../util/class.log.php';
$row = $_POST['row'];

$invitation = new InvitationService();
$result = $invitation->selectPostByPostTime($row);
if($result == null) 
{
	$array = array('tip' => 0);
	print_r(json_encode($array));
} else { 
	$L = log::get_instance();
	$L->log(0,'用户'.$username.'查询数据', date('Y-n-j H:m:s'));
	$L->close();
	echo $result;
}